home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 3
/
Light ROM 3 - Disc 2.iso
/
programs
/
amiga
/
images
/
iff2scap
/
iff2scap.lzh
/
IFF2Scape.doc
< prev
Wrap
Text File
|
1991-07-23
|
2KB
|
54 lines
IFF2Scape - Image to Vista Landscape
Usage: iff2scape file.iff file.scape [-x<xoff>][-y<yoff>][-w][-c][-s]
[-b<base>][-j<step>]
<xoff> == Offset from left side of IFF image to the left side of scape
<yoff> == Offset from top of IFF image to the top of scape
w == Make BigVistaPro landscape
<base> == Offset above sea level of lowest point in landscape
<step> == Distance between color registers (units will vary with DEM spacing)
s == smooth
c == compress
Defaults:
xoffs = 0
yoffs = 0
Regular Vista Landscape
base = 0
step = 100
No smoothing
No compression
IFF2Scape converts an IFF file into a Vista Landscape by assuming that
the color register numbers are related to the elevation of the pixel
(data point). Color register 0 is at <base> units from sea level. Each
subsequent color register is <step> units above the previous one.
Below, zsize is the actual size of the unit used for base and step.
(ie. a step of 100 with 10 ft DEM data will result in elevation steps of
360 inches or 30 feet. A base of 500 would be 150 feet.
Typical values: cstep dwidth zsize
3 ft 1 ft 0.36 in
3 mtr 1 mtr 3.0 cm
30 ft 10 ft 3.6 in
30 mtr 10 mtr 30.0 cm
100 mtr 30 mtr 1.0 mtr
cstep == the actual vertical distance between contour lines.
dwidth == the distance between adjacent dem points. For example, a
Vista DEM map is 258 points x 258 points, so a dwidth of 1 foot
would create a Vista DEM covering an area 258 feet x 258 feet.
30 meter data creates an area 30 x 258 meters (or 7740 meters)
by 7740 meters.
zsize == the actual change in elevation with a one point change in the
DEM elevation value.
Note that IFF2Scape clips a 258 x 258 DEM from a larger IFF file, with
one pixel in the IFF image resulting in 1 DEM data point.